#include "render_device.h"
#include "vertex_index_buffer.h"

IMPLEMENT_SINGLETON(c_render_device9)

c_render_device9::c_render_device9(IDirect3DDevice9 *device)
{
    BOOST_ASSERT(device);
    m_d3d9_device.Attach(device);
}

c_render_device9::~c_render_device9()
{
    m_d3d9_device.Detach(); 
}
